import { Injectable } from '@angular/core';
import { Http } from '@angular/http';
import { ServiceBasic } from '../../kalend';
@Injectable()

@Injectable({
  providedIn: 'root'
})
export class MerchantinfoService extends ServiceBasic {

  constructor(http: Http) {
    super('/merchant', http);
  }
  querybyagent(doc: any) {
    return this.httppost(`/querybyagent`, doc);
  }
  querybyuid(doc: any) {
    return this.httppost(`/querybyuid`, doc);
  }

  queryone(doc: any) {
    return this.httppost(`/queryone`, doc);
  }

}
